#ifndef CPP_HPP
#include <stdio.h>

using namespace std;

#define CPP_HPP
#if defined(__clang__) || defined(__GNUC__)

#define CPP_STANDARD __cplusplus

#elif defined(_MSC_VER)

#define CPP_STANDARD _MSVC_LANG

#endif

#if CPP_STANDARD >= 199711L
#define HAS_CPP_03 1
#endif
#if CPP_STANDARD >= 201103L
#define HAS_CPP_11 1
#endif
#if CPP_STANDARD >= 201402L
#define HAS_CPP_14 1
#endif
#if CPP_STANDARD >= 201703L
#define HAS_CPP_17 1
#endif

class TestCls
{
public:
    string name;
    int age;

    TestCls(string name, int age)
    {
        this->name = name;
        this->age = age;
    };

    string &getName()
    {
        return name;
    }
    void say()
    {
        // printf("%s%d\n", name, age);

        cout << name << "的年龄为：" << age << endl;
    }
};

// TestCls::TestCls(string name, int age)
// {
//     this->name = name;
//     this->age = age;
// }

struct StructA
{
    string name;
};
#endif